package com.whl.mybatis.mapper;

import java.util.List;

public class EntityTableMapper {

	private Class<?> mapperInterface;
	private String namespace;
	private Class<?> entityClass;
	private String tableName;
	private String keyProperty;
	private String keyColumn;
	private boolean useGeneratedKeys;
	private List<PropertyColumnMapper> propertyColumnMappers;

	public Class<?> getMapperInterface() {
		return mapperInterface;
	}

	public void setMapperInterface(Class<?> mapperInterface) {
		this.mapperInterface = mapperInterface;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public Class<?> getEntityClass() {
		return entityClass;
	}

	public void setEntityClass(Class<?> entityClass) {
		this.entityClass = entityClass;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getKeyProperty() {
		return keyProperty;
	}

	public void setKeyProperty(String keyProperty) {
		this.keyProperty = keyProperty;
	}

	public String getKeyColumn() {
		return keyColumn;
	}

	public void setKeyColumn(String keyColumn) {
		this.keyColumn = keyColumn;
	}

	public boolean isUseGeneratedKeys() {
		return useGeneratedKeys;
	}

	public void setUseGeneratedKeys(boolean useGeneratedKeys) {
		this.useGeneratedKeys = useGeneratedKeys;
	}

	public List<PropertyColumnMapper> getPropertyColumnMappers() {
		return propertyColumnMappers;
	}

	public void setPropertyColumnMappers(List<PropertyColumnMapper> propertyColumnMappers) {
		this.propertyColumnMappers = propertyColumnMappers;
	}

}
